//
//  WTVideoView.h
//  WTLiveSDKDemo
//
//  Created by ben on 16/10/11.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WTLiveExtendView.h"
#import "WTPlayToolView.h"
#import "WTGiftListView.h"
#import "WTPrivateMessageView.h"

@class WTVideoView;
@protocol WTVideoViewDelegate <NSObject>
@optional
- (void)videoView:(WTVideoView*)view focusUser_id:(NSString*)focusUser_id isFocus:(BOOL)isFocus;

- (void)videoViewOwnerLeave:(WTVideoView *)view;

- (void)videoViewOwnerEnter:(WTVideoView *)view;

- (void)videoViewOwnerFinishedLive:(WTVideoView *)view;

- (void)videoViewChangeCamera:(WTVideoView *)view;

- (void)videoViewGiftDetail:(WTVideoView *)view;
@end

@interface WTVideoView : UIView
@property (nonatomic,strong)  WTLiveExtendView*     liveExtendView;
@property (nonatomic, strong) WTPlayToolView*       playToolView;
@property (nonatomic, strong) WTGiftListView*       giftListView;
@property (nonatomic, strong) WTPrivateMessageView* privateMessageView;
@property (nonatomic, assign) NSInteger             roomId;
@property (nonatomic, weak) id<WTVideoViewDelegate> delegate;

/**
 更新关注状态

 @param is_focus 是否关注
 */
- (void)updateFocusStatus:(NSInteger)is_focus;


/**
 清除礼物动画的缓存，恢复成初始状态
 */
- (void)clearGiftAnimationCaches;
@end
